#ifndef __IRENDER__H__
#define __IRENDER__H__
#include <string>
#include <stdio.h>
#include <Cg/cgGL.h>
#include <Cg/cg.h>
#include <GL/glut.h>
#include <SOIL.h>
#include "../ShaderManager.h"
#include "Matrices.h"

class IRender
{
public:
	IRender(const std::string& name)
	{
		mName = name;
		printf("render %s created\n", mName.c_str());
	}

	virtual ~IRender()
	{
		printf("render %s destroyed\n", mName.c_str());
	}

public:
	virtual void draw() = 0;
	virtual void idle() {}

private:
	std::string mName;
};
#endif//__IRENDER__H__